package io.chenglicun.modules.clc.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import com.baomidou.mybatisplus.annotation.*;
import java.util.Date;
import io.chenglicun.common.entity.BaseEntity;

/**
 * 投票
 *
 * @author HB 137664951@qq.com
 * @since 1.0 2023-11-24
 */
@Data
@EqualsAndHashCode(callSuper=false)
@TableName("clc_vote")
public class ClcVoteEntity extends BaseEntity {
	private static final long serialVersionUID = 1L;

	/**
	* 主题
	*/
	private String theme;
	/**
	* 图片地址
	*/
	private String url;
	/**
	 * 投票类型(0:单选 1:多选)
	 */
	private Integer voteType;
	/**
	* 是否默认
	*/
	private Integer isDefault;
	/**
	* 截止日期
	*/
	private Date endTime;
	/**
	* 更新者
	*/
	@TableField(fill = FieldFill.INSERT_UPDATE)
	private Long updater;
	/**
	* 更新时间
	*/
	@TableField(fill = FieldFill.INSERT_UPDATE)
	private Date updateDate;
	/**
	* 备注
	*/
	private String remark;
	/**
	* 逻辑删除 0：未删除 1：已删除
	*/
		@TableField(updateStrategy = FieldStrategy.IGNORED)
	private Integer isDeleted;
}